package com.woniu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.entity.News;
import org.apache.ibatis.annotations.Select;

public interface NewsMapper extends BaseMapper<News> {
    @Select("SELECT * FROM news1 WHERE id = #{id}")
    News selectById2(int id);
}
